<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ include file="taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
		<meta name="keywords" content="" />
		<meta name="description" content="" />
		<title>Gray Admin Template</title>
		<link rel="stylesheet" href="<%=basePath%>css/style.css" type="text/css" media="screen" charset="utf-8" />
		<script src="<%=basePath%>js/jquery.js" type="text/javascript" charset="utf-8"></script>
		<script src="<%=basePath%>js/global.js" type="text/javascript" charset="utf-8"></script>
		<script src="<%=basePath%>js/modal.js" type="text/javascript" charset="utf-8"></script>
	</head>
<body>
        <%@ include file="/WEB-INF/layouts/header.jsp"%>
        <div id="wrapper">
			<div id="holder">
				<div id="menu">
					<div id="left"></div>
					<div id="right"></div>
					<ul>
						<li>
							<c:choose>
								<c:when test="${type == '1'}">
									<a href="<%=basePath%>backend/backend.do" class="selected"><span>试卷管理</span></a>
								</c:when>
								<c:otherwise>
									<a href="<%=basePath%>backend/backend.do"><span>试卷管理</span></a>
								</c:otherwise>
							</c:choose>
						</li>
						<li>
							<c:choose>
								<c:when test="${type == '2'}">
									<a href="<%=basePath%>backend/backend.do?action=questionModule" class="selected"><span>试题管理</span></a>
								</c:when>
								<c:otherwise>
									<a href="<%=basePath%>backend/backend.do?action=questionModule" ><span>试题管理</span></a>
								</c:otherwise>
							</c:choose>
						</li>
						<li>
							<c:choose>
								<c:when test="${type == '3'}">
									<a href="<%=basePath%>backend/backend.do" class="selected"><span>专题管理</span></a>
								</c:when>
								<c:otherwise>
									<a href="<%=basePath%>backend/backend.do"><span>专题管理</span></a>
								</c:otherwise>
							</c:choose>
						</li>
					</ul>
					<div class="clear"></div>
				</div>
			</div>
			<sitemesh:body/>
		</div>
        <%@ include file="/WEB-INF/layouts/footer.jsp"%>
</body>
</html>
